package com.pp.ent.core;

import android.content.Context;
import android.util.Log;
import android.widget.Toast;

import com.pp.ent.base.BaseService;

/**
 * Author:dengqu
 * Date:2016/7/26
 */
public class SecondCoreImpl extends BaseService {
    private static SecondCoreImpl secondCoreImpl;

    public void test(Context context) {
        Toast.makeText(context, "SecondCoreImpl test!", Toast.LENGTH_SHORT).show();
        notifyService("12345");
    }

    public SecondCoreImpl() {
        Log.i("wshao", "SecondCoreImpl init");
    }

    public static SecondCoreImpl newInstance() {
        if (secondCoreImpl == null) {
            secondCoreImpl = new SecondCoreImpl();
        }
        return secondCoreImpl;
    }
}
